//
//  RecordFactory.h
//  SimulacraDB
//
//  Created by Andre Cohen on 8/15/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Record.h"

@interface RecordFactory : NSObject {

}

+ (Record *)createPlainStringRecord:(NSString *)value;
+ (Record *)createPlainIntRecord:(NSNumber *)value;
+ (Record *)createPlainFloatRecord:(NSNumber *)value;
+ (Record *)createPlainDateTimeRecord:(NSString *)value;

+ (Record *)createNamespaceRecord:(NSString *)name;
+ (Record *)createClassRecord:(NSString *)name withParent:(RID *)parent inNamespace:(RID *)ns;

@end
